import request from '@/utils/request'

export default {
	// 个人经营列表
	personManageList(query) {
		return request({
			url: '/agriculture/personManage/list',
			method: 'get',
			params: query,
		})
	},

	// 添加
	addPersonManage(data) {
		return request({
			url: '/agriculture/personManage/add',
			method: 'post',
			data: data,
		})
	},

	// 删除
	deletePersonManage(data) {
		return request({
			url: '/agriculture/personManage/delete',
			method: 'post',
			data: data,
		})
	},

	// 详情
	detailPersonManage(data) {
		return request({
			url: '/agriculture/personManage/detail',
			method: 'post',
			data: data,
		})
	},

	// 修改
	updatePersonManage(data) {
		return request({
			url: '/agriculture/personManage/update',
			method: 'post',
			data: data,
		})
	},
}
